package com.yzjs.localhost.dto;

import com.yzjs.localhost.entity.tNeusoftSysMenu.TNeusoftSysMenuEntity;
import com.yzjs.localhost.entity.tNeusoftSysRole.TNeusoftSysRoleEntity;

import java.util.Map;

/**
 * 用户资源信息
 */
public class UserRightsDTO {

    // 用户id
    private Long userId ;

    // 用户昵称
    private String nickName ;

    private Long roleId ;
    // 角色名称
    private String roleName ;

    private Long deptId ;
    // 部门信息
    private String deptName ;

    // 用户角色权限信息
    private Map<String,TNeusoftSysMenuEntity>  roleMenus ;
    // 角色权限信息
    private Map<String, TNeusoftSysRoleEntity>  roles ;
    // 部门权限信息
    private Map<String, TNeusoftSysMenuEntity>  deptMenus ;


    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }




    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


    public Map<String, TNeusoftSysRoleEntity> getRoles() {
        return roles;
    }

    public void setRoles(Map<String, TNeusoftSysRoleEntity> roles) {
        this.roles = roles;
    }

    public Map<String, TNeusoftSysMenuEntity> getRoleMenus() {
        return roleMenus;
    }

    public void setRoleMenus(Map<String, TNeusoftSysMenuEntity> roleMenus) {
        this.roleMenus = roleMenus;
    }

    public Map<String, TNeusoftSysMenuEntity> getDeptMenus() {
        return deptMenus;
    }

    public void setDeptMenus(Map<String, TNeusoftSysMenuEntity> deptMenus) {
        this.deptMenus = deptMenus;
    }
}
